package com.qianclass.talklive.app.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by mkosto on 2016/11/22.
 */

public class DateTime {




    public String getDateTime(){

        long l = System.currentTimeMillis();

        Date date = new Date(l);

        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

        System.out.println(dateFormat.format(date));

        LogUtil.i("Test",dateFormat.format(date));

        return dateFormat.format(date);

    }

}
